package com.raylu.realtime.bean;

import com.alibaba.fastjson.JSON;
import lombok.Data;

/**
 * Description:
 * <p>
 * Create by lucienoz on 2021/12/25.
 * Copyright © 2021 lucienoz. All rights reserved.
 */
@Data
public class StartBean {
    public String entry;
    public String loading_time;
    public String open_ad_id;
    public String open_ad_ms;
    public String open_ad_skip_ms;

    //Page field
    public String page_id;

    //Log
    public Long ts;

    public StartBean() {
    }

    public StartBean(String entry, String loading_time, String open_ad_id, String open_ad_ms, String open_ad_skip_ms, String page_id, Long ts) {
        this.entry = entry;
        this.loading_time = loading_time;
        this.open_ad_id = open_ad_id;
        this.open_ad_ms = open_ad_ms;
        this.open_ad_skip_ms = open_ad_skip_ms;
        this.page_id = page_id;
        this.ts = ts;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
